package com.oocl.RTRLServer.parser;

import java.io.IOException;

import com.oocl.RTRLServer.server.ServerThread;
import com.oocl.pojo.Protocol;

public interface ProtocolParser {
	
	/**
	 * 解析用户登陆
	 * @param protocol
	 * @param out
	 */
	public void parseLogin(Protocol protocol,ServerThread userThread) throws IOException;
	/**
	 * 解析用户注册
	 * @param protocol
	 * @param out
	 */
	public void parseRegister(Protocol protocol,ServerThread userThread) throws IOException;
	/**
	 * 解析用户注册
	 * @param protocol
	 * @param out
	 */
	public void parseStopServer(Protocol protocol,ServerThread userThread) throws IOException;
}
